Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] feat: add optional fee recipient to matcha swap settings #523

Open
wants to merge 10 commits into
base: canary
Choose a base branch
from

Conversation

sktbrd
Copy link
Collaborator

@sktbrd sktbrd commented Dec 13, 2024

This pull request includes changes to the src/fidgets/swap/Swap.tsx file to add support for an optional fee recipient in the Matcha Fidget settings. The most important changes include updating the MatchaFidgetSettings type, adding a new input field for the optional fee recipient, and modifying the URL-building logic to include referral parameters if the optional fee recipient is provided.

Enhancements to Matcha Fidget settings:

URL-building logic updates:

  • src/fidgets/swap/Swap.tsx: Modified the buildMatchaUrl function to include referral parameters (ref and swapFeeBps) if optionalFeeRecipient is provided.

Copy link

vercel bot commented Dec 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nounspace-ts ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 0:05am

@willyogo willyogo changed the title feat: add optional fee recipient to matcha swap settings [WIP] feat: add optional fee recipient to matcha swap settings Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants